package com.eol.common.annotation;

import java.lang.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * User: liulinhui
 * Date: 2019/10/30
 * Time: 7:13 PM
 * Description: HttpApi
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface HttpApi {

    String name() default "";  //名字

    boolean log() default true; //是否插入日志

    boolean login() default true; //是否需要登录

    boolean refreshToken() default false; //刷新token 默认 false 不刷新

}
